namespace SubhadraSolutions.Sharp.Logging.Contracts
{
    using System;

    public class LogWrittenEventArgs : EventArgs
    {
        #region Constructors

        public LogWrittenEventArgs(string loggerName, LogItemSeverity severity, object logEntry)
        {
            LoggerName = loggerName;
            Severity = severity;
            LogEntry = logEntry;
        }

        #endregion Constructors

        #region Properties

        public object LogEntry
        {
            get;
            private set;
        }

        public LogItemSeverity Severity
        {
            get;
            private set;
        }

        public string LoggerName
        {
            get;
            private set;
        }

        #endregion Properties
    }
}